<div class="menu_list">
<?php
	$rs=$db->excu("select * from mx_vpp_articleclass where class='".($nei_classdb["class"]+1)."' and fup='".$nei_classdb["fid"]."' order by list asc,fid asc");
	if ($db->num_rows($rs)){
		$i=0;
		echo '<div class="menu_list">';
		while($rsdb=$db->fetch_array($rs)){
			$a_class="a".(($i%5)+1);
			if ($rsdb["classshowtype"]==1 and trim($rsdb["picurl"])!=""){
?>
	<li class="pic"><a href="article.php?id=<?php echo $rsdb["fid"]?>&fromwxopenid=<?php echo $wxmxopenid;?>"><img src="<?php echo get_photourl($rsdb["picurl"]);?>" height="60"><?php echo $rsdb["name"];?><span>></span></a></li>
<?php
			}
			else{
?>
	
	<li><a href="article.php?id=<?php echo $rsdb["fid"]?>&fromwxopenid=<?php echo $wxmxopenid;?>" class="<?php echo $a_class?>"><?php echo $rsdb["name"];?><span>></span></a></li>
<?php
		$i++;
		}
		}
		echo '</div>';
	}
?>
<div class="clear"></div>
</div>